package cn.jng.test;

/**
 * @author ：hongwuyang
 * @date ：2022/4/26 17:52
 * @description：
 */


public class User {
    private String name;
    private int age;

    public User(String name) {
        this.name = name;
    }

    public User(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
